func runtime.divRoundUp
11 uses
runtime (current package)
malloc.go#L1152: sizeclass = size_to_class8[divRoundUp(size, smallSizeDiv)]
malloc.go#L1154: sizeclass = size_to_class128[divRoundUp(size-smallSizeMax, largeSizeDiv)]
mbitmap.go#L1417: bytes := divRoundUp(uintptr(s.nelems), 8)
mbitmap.go#L1681: bitmapBytes := divRoundUp(ptrdata, 8*goarch.PtrSize)
mbitmap.go#L1683: pages := divRoundUp(bitmapBytes, pageSize)
mgcmark.go#L63: return int(divRoundUp(bytes, rootBlockBytes))
mgcsweep.go#L656: for i := obj/8 + 1; i < divRoundUp(uintptr(s.nelems), 8); i++ {
msize.go#L24: return uintptr(class_to_size[size_to_class8[divRoundUp(reqSize, smallSizeDiv)]]) - (reqSize - size)
msize.go#L26: return uintptr(class_to_size[size_to_class128[divRoundUp(reqSize-smallSizeMax, largeSizeDiv)]]) - (reqSize - size)
pinner.go#L271: return divRoundUp(uintptr(s.nelems)*2, 8)
stubs.go#L436: func divRoundUp(n, a uintptr) uintptr {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |